#ifndef MIPSSYSCALL_H
#define MIPSSYSCALL_H

#include "crossbit/SyscallHandler.h"

namespace crossbit {

    class ProcessorState;
    class MemoryImage;

    // class SStrixSyscall emulate the SimpleScalar SStrix (a derivative of 
    // Ultrix) syscall.

    class MIPSSyscallHandler : public SyscallHandler {
	public:
	    // Initialze SStrixSyscall with machine state, including
	    // processor state and memory image
	    MIPSSyscallHandler(ProcessorState *state, MemoryImage *img);
	    ~MIPSSyscallHandler();

	    virtual void operator () ();

	    int syscode();

    };

}
#endif
